<template>
  <div class="recent-interview-record">
    <div class="recent-interview-record-item" v-for="item in record">
      <div class="name-block">
        <div class="name">{{item.name}}</div>
        <div class="time">{{item.time}}</div>
        <div class="placeholder"></div>
        <div class="status-point"></div>
        <div class="status-text">已处理</div>
      </div>
      <div class="label">{{item.label}}</div>
      <div class="desc">{{item.desc}}</div>
      <div class="line"></div>
      <div class="bottom-block">
        <div class="detail-btn">查看详情</div>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  name: 'RecentInterviewRecord',
  data(){
    return{
      record:[
        {name:'张*强',time:'06-12',label:'情绪波动',desc:'走访记录详情描述，包含具体处理情况...'},
        {name:'李*',time:'06-10',label:'未在登记住址',desc:'走访记录详情描述，包含具体处理情况...'},
        {name:'王*明',time:'06-05',label:'行为异常',desc:'走访记录详情描述，包含具体处理情况...'},
        {name:'赵*',time:'06-05',label:'未按时报到',desc:'走访记录详情描述，包含具体处理情况...'},
        {name:'刘*华',time:'06-03',label:'活动轨迹异常',desc:'走访记录详情描述，包含具体处理情况...'},
      ]
    }
  }
}
</script>
<style scoped lang="scss">
.recent-interview-record{
  width: 100%;
  height: 100%;
  overflow: auto;
  &::-webkit-scrollbar {
    width: 4px;
  }
  &::-webkit-scrollbar-thumb {
    border-radius: 3px;
    background: rgba(0,198,255,.3);
  }
  &::-webkit-scrollbar-track{
    border-radius: 3px;
    background: rgba(0,24,48,.3);
  }
  .recent-interview-record-item{
    width: 100%;
    margin-bottom: 20px;
    border: 1px solid #32B4FF;
    border-radius: 5px;
    background: #06213B;
    padding:10px 15px;
    .name-block{
      width: 100%;
      display: flex;
      align-items: center;
      margin-bottom: 10px;
      .name{
        font-weight: bold;
        color: #32B4FF;
        margin-right: 10px;
      }
      .time{
        background: rgba(255, 255, 255, 0.1);
        font-size: 12px;
        color: #fff;
        border-radius: 3px;
        padding: 3px 5px;
      }
      .placeholder{
        flex-grow: 1;
      }
      .status-point{
        width: 10px;
        height: 10px;
        border-radius: 50%;
        margin-right: 10px;
        background: #52C41A;
      }
      .status-text{
        color: #fff;
        font-size: 14px;
      }
    }
    .label{
      font-size: 12px;
      color: #EA0000;
      border-radius: 3px;
      padding: 3px 5px;
      background: rgba(249, 75, 75, 0.2);
      display: inline-block;
      margin-bottom: 10px;
    }
    .desc{
      color: #fff;
      font-size: 14px;
      margin-bottom: 10px;
    }
    .line{
      height: 1px;
      width: 100%;
      background: #506375;
      margin-bottom: 10px;
    }
    .bottom-block{
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: flex-end;
      .detail-btn{
        width: 80px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #134C75;
        color: #32B4FF;
        border-radius: 5px;
        font-size: 14px;
        cursor: pointer;
      }
    }
  }
}
</style>
